package com.xywy.fwc.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 家庭医生门诊时间
 * 
 * TODO
 * 
 * @author fwq 2014 下午5:36:56
 */
public class VisitTime {

	private String week;
	private List<String> hour_str;

	public String getWeek() {
		return week;
	}

	public void setWeek(String week) {
		this.week = week;
	}


	public List<String> getHour_str() {
		return hour_str;
	}

	public void setHour_str(List<String> hour_str) {
		this.hour_str = hour_str;
	}

	public int getStart_hour() {
		return start_hour;
	}

	public void setStart_hour(int start_hour) {
		this.start_hour = start_hour;
	}

	public int getEnd_hour() {
		return end_hour;
	}

	public void setEnd_hour(int end_hour) {
		this.end_hour = end_hour;
	}

	private int start_hour;
	private int end_hour;
	
	public String getStr(){
		if(hour_str != null){
			StringBuffer sb = new StringBuffer();
			sb.append(week+" ");
			for(String str:hour_str){
				sb.append(str)
				.append(" ");
			}
			return sb.toString();
		}
		return "不出诊";
	}

}
